'use strict'


import Http from '../kit/HttpKit'
import Api from './Api'

const URL_REFUND_ORDER_LIST = Api.API_URL + '/order/refundOrderList'
const URL_REFUND_ORDER_TRANSFER = Api.API_URL + '/order/refundOrderTransfer'

/**
 * 退款订单
 **/
const refundOrderList = (data, callback) => {
    data.api_token = Api.getApiToken();
    data.api_user_id = Api.getApiUserId();
    Http.post(URL_REFUND_ORDER_LIST, data, json => {
        Api.getDataCB(json, callback);
    });
}

export default {
    refundOrderList,
    URL_REFUND_ORDER_LIST,
    URL_REFUND_ORDER_TRANSFER
}
